Skip to contentSkip to conversation

video mode in windows game

Qemu-devel Kenneth Ng 5 participants 9 messages Sep 24, 2005 – Sep 25, 2005

lore
Share & tools
lore

Kenneth Ng

author
#0 lore raw

I'm trying to get a children's game to work under windows under qemu. When the game starts, it flipps into some video mode that my monitor does not support when in full screen mode, but when in window mode its ok. Anyone know how to find out what video mode is currently in use by the vm? My suspicion is that its 640x480, but I'm not sure.

#1 lore raw
Quoted 3 lines · Kenneth Ng

I'm trying to get a children's game to work under windows under qemu. When the game starts, it flipps into some video mode that my monitor does not support when in full screen mode, but when in window mode its ok.

Weird. Of course, in that case it shouldn't go into fullscreen mode at all - it should report the error and go back to the host's original resolution.

Quoted 3 lines

Anyone
know how to find out what video mode is currently in use by the vm? My suspicion is that its 640x480, but I'm not sure.

The guest OS should tell you. If it doesn't, you can just measure the size of the window in pixels (when running in windowed mode of course) - the size of the window will correspond to the resolution that the guest is using.

Quoted 4 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#2 lore raw
Quoted 2 lines · Jim C. Brown

Weird. Of course, in that case it shouldn't go into fullscreen mode at all - it should report the error and go back to the host's original resolution.

Not necessarily - especially LCDs can be sometimes very picky about the modes they support, eg. on one of my computers, a LCD monitor wouldn't display the BIOS bootup screen anymore (it just showed "Video mode not supported") after I switched from an on-board GFX card to a PCI one, even though it appeared identically on an old CRT monitor.

Signature · 4 lines
< Jernej Simoncic ><><><><>< http://deepthought.ena.si/ >

If you take your boots off, you'll never get them back on again.
       -- Barber's Tenth Law of Backpacking
#3 lore raw
Quoted 10 lines · Jernej Simončič
Quoted 3 lines · Jim C. Brown

Weird. Of course, in that case it shouldn't go into fullscreen mode at all - it should report the error and go back to the host's original resolution.

Not necessarily - especially LCDs can be sometimes very picky about the modes they support, eg. on one of my computers, a LCD monitor wouldn't display the BIOS bootup screen anymore (it just showed "Video mode not supported") after I switched from an on-board GFX card to a PCI one, even though it appeared identically on an old CRT monitor.

It's still wrong for windows to try and use modes that don't work. Windows should know what modes are supported by your monitor and refuse to switch to anything else. Sounds like you haven't configured windows correctly.

Paul

#4 lore raw
In reply to Jernej Simončič
Quoted 11 lines · Jernej Simon?i?
Quoted 2 lines · Jim C. Brown

Weird. Of course, in that case it shouldn't go into fullscreen mode at all - it should report the error and go back to the host's original resolution.

Not necessarily - especially LCDs can be sometimes very picky about the modes they support, eg. on one of my computers, a LCD monitor wouldn't display the BIOS bootup screen anymore (it just showed "Video mode not supported") after I switched from an on-board GFX card to a PCI one, even though it appeared identically on an old CRT monitor.

I meant qemu/SDL should be able to detect that the resolution is not supported and refuse to switch.

Quoted 13 lines
Signature · 11 lines
< Jernej Simoncic ><><><><>< http://deepthought.ena.si/ >

If you take your boots off, you'll never get them back on again.
       -- Barber's Tenth Law of Backpacking



_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#5 lore raw
Quoted 2 lines · Jim C. Brown

I meant qemu/SDL should be able to detect that the resolution is not supported and refuse to switch.

Only if the host knows the monitor does not support the video mode in question.

Regards
Henrik

author
#6 lore raw
In reply to Jim C. Brown
Quoted 15 lines · Jim C. Brown
Quoted 1 line · Kenneth Ng

I'm trying to get a children's game to work under windows under qemu.

When

Quoted 2 lines

the game starts, it flipps into some video mode that my monitor does not support when in full screen mode, but when in window mode its ok.

Weird. Of course, in that case it shouldn't go into fullscreen mode at all -
it should report the error and go back to the host's original resolution.

Quoted 3 lines

Anyone
know how to find out what video mode is currently in use by the vm? My suspicion is that its 640x480, but I'm not sure.

Quoted 5 lines

The guest OS should tell you. If it doesn't, you can just measure the size of
the window in pixels (when running in windowed mode of course) - the size of
the window will correspond to the resolution that the guest is using.

You haven't played with these children's games. Once they start, they change the resolution and stuff, and there is no going back to the OS until you quit the game, where up it (usually) resets everything back the way it was. Unless there is some kind of hacker trick.

Hm, in qemu, how can I send a control-alt-delete to the vm?

#7 lore raw
Quoted 10 lines · Kenneth Ng
Quoted 9 lines
Quoted 3 lines

Anyone
know how to find out what video mode is currently in use by the vm? My suspicion is that its 640x480, but I'm not sure.

The guest OS should tell you. If it doesn't, you can just measure the size of
the window in pixels (when running in windowed mode of course) - the size of
the window will correspond to the resolution that the guest is using.

Quoted 5 lines

You haven't played with these children's games. Once they start, they change the resolution and stuff, and there is no going back to the OS until you quit the game, where up it (usually) resets everything back the way it was. Unless there is some kind of hacker trick.

Ah, ok. Still, a run in windowed mode should tell u the resolution.

Quoted 1 line

Hm, in qemu, how can I send a control-alt-delete to the vm?

"sendkey ctrl-alt-delete" from the monitor.

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
author
#8 lore raw
Quoted 14 lines · Jim C. Brown
Quoted 2 lines · Kenneth Ng
Quoted 2 lines
Quoted 2 lines

Anyone
know how to find out what video mode is currently in use by the vm?

My

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

suspicion is that its 640x480, but I'm not sure.

The guest OS should tell you. If it doesn't, you can just measure the

size

Quoted 2 lines
Quoted 2 lines

of
the window in pixels (when running in windowed mode of course) - the

size

Quoted 3 lines
Quoted 2 lines

of
the window will correspond to the resolution that the guest is using.

You haven't played with these children's games. Once they start, they

Quoted 8 lines

change

Quoted 2 lines

the resolution and stuff, and there is no going back to the OS until you quit the game, where up it (usually) resets everything back the way it

was.

Quoted 1 line

Unless there is some kind of hacker trick.

Ah, ok. Still, a run in windowed mode should tell u the resolution.

Quoted 1 line

Hm, in qemu, how can I send a control-alt-delete to the vm?

"sendkey ctrl-alt-delete" from the monitor.

The sendkey worked, but windows went back into windows mode with the non game resolution before bringing up the task manager